package com.bkd.dreams.client.event.service;

import java.util.List;

import com.bkd.dreams.client.event.VolunteerEvent;
import com.bkd.dreams.client.event.VolunteerEventDTO;
import com.bkd.dreams.client.login.NotLoggedInException;
import com.bkd.dreams.client.volunteer.VolunteerDTO;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("volunteerEvents")
public interface VolunteerEventService extends RemoteService {
	
	List<VolunteerEventDTO> getAllEvents()throws NotLoggedInException;
	void addEvent(VolunteerEventDTO event)throws NotLoggedInException;
	void removeEvent(VolunteerEventDTO event) throws NotLoggedInException;
	void signUp(VolunteerEventDTO event, VolunteerDTO volunteer) throws NotLoggedInException;
	void removeSignUp(VolunteerEventDTO event, VolunteerDTO volunteer) throws NotLoggedInException;
}
